text: Handle key events in the target phase
authorMatthias Clasen <mclasen@redhat.com>
Fri, 26 Jun 2020 18:08:35 +0000 (14:08 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 26 Jun 2020 18:08:35 +0000 (14:08 -0400)
commit2d914d52be79f32ec051602153da23e7951ffc83
tree905c84eb956ce509b9fea3669b48365101463e18
parenta26865e741f9dadd5b2251c53a7d986fef1ebf72
text: Handle key events in the target phase

This makes sure that we do actual key input right
in the middle between all the capture and bubble
event controllers, and are not dependent on the
ordering of those controllers.

The bug that triggered this change was that the
shortcut for activation (Enter) was getting triggered
before the key input, causing Ctrl-Shift-u hex
to stop working, since it never received the enter
to commit the sequence.
gtk/gtktext.c